<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/7/6
 * Time: 17:26
 */

namespace app\oauth2\api;

use app\common\api\BaseApi;
use app\oauth2\model\Scopes;
use think\Model;

/**
 * ScopesModel model
 */
class ScopesApi extends BaseApi{

    /**
     * 查询，不分页
     */
    const QUERY_NO_PAGING = "oauth2/ScopesApi/queryNoPaging";
    /**
     * 添加
     */
    const ADD = "oauth2/ScopesApi/add";
    /**
     * 保存
     */
    const SAVE = "oauth2/ScopesApi/save";
    /**
     * 保存根据ID主键
     */
    const SAVE_BY_ID = "oauth2/ScopesApi/saveByID";

    /**
     * 删除
     */
    const DELETE = "oauth2/ScopesApi/delete";

    /**
     * 查询
     */
    const QUERY = "oauth2/ScopesApi/query";

    protected function _init(){
        $this->model = new Scopes();
    }

}